package com.explorx.sns.puma.im.core.dal.dao;

import com.explorx.sns.puma.im.core.dal.entity.UserRelationEntity;
import com.explorx.sns.puma.im.core.dal.entity.UserRelationEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserRelationEntityMapper {
    int deleteByPrimaryKey(@Param("id") Long id, @Param("fromUid") Long fromUid, @Param("toUid") Long toUid);

    int insert(UserRelationEntity record);

    int insertSelective(UserRelationEntity record);

    List<UserRelationEntity> selectByExample(UserRelationEntityExample example);

    UserRelationEntity selectByPrimaryKey(@Param("id") Long id, @Param("fromUid") Long fromUid, @Param("toUid") Long toUid);

    int updateByExampleSelective(@Param("record") UserRelationEntity record, @Param("example") UserRelationEntityExample example);

    int updateByExample(@Param("record") UserRelationEntity record, @Param("example") UserRelationEntityExample example);

    int updateByPrimaryKeySelective(UserRelationEntity record);

    int updateByPrimaryKey(UserRelationEntity record);
}